package searcher;

import java.util.ArrayList;

import entity.Ask;
import entity.Rent;
import entity.SecondHand;

public class Searcher {
	public static void main(String args[]) throws Exception{
		AskSearcher temp = new AskSearcher("南京", 500, 2000, 2, 1, 1, "热水空调");
		cnRentSearcher crs = new cnRentSearcher(-1, -1, -1, -1, null, null, null, "五道口");
		enRentSearcher ers = new enRentSearcher(1, 1000, null, null, "London");
		SecondHandSearcher shs = new SecondHandSearcher(1000, 2000, 2, 1, -1, null, null, null, null);
		//int Askpages = temp.preAskSearch();
		//int cnPages = crs.precnRentSearch();
		int enPages = ers.preenRentSearch();
		//int shsPages = shs.preSHSSearch();
		//ArrayList<Ask> Askresult = temp.getResultatPage(1);
		//ArrayList<Rent> cnResult = crs.getResultatPage(1);
		ArrayList<Rent> enResult = ers.getResultatPage(1);
		//ArrayList<SecondHand> shsResult = shs.getResultatPage(1);
	}
}